package com.sample.livewallpaperdemo;

import org.rajawali3d.renderer.ISurfaceRenderer;
import org.rajawali3d.view.ISurface;
import org.rajawali3d.wallpaper.Wallpaper;

/**
 * Created by jtxiang on 17-7-5.
 */

public class EarthWallpaper extends Wallpaper {

    private ISurfaceRenderer mRenderer;

    @Override
    public Engine onCreateEngine() {

        mRenderer = new EarthRenderer(this);
        return new WallpaperEngine(getBaseContext(), mRenderer,
                ISurface.ANTI_ALIASING_CONFIG.NONE);
    }
}
